#include<stdio.h>
int main(void){
    int da,zhong,xiao;
    for(da=1;da<100;da++){
        for(zhong=1;zhong<=100-da;zhong++){
            xiao = 100 - da - zhong;
            if((xiao%2==0)&&(3*da+2*zhong+xiao/2==100)){
                printf("%d %d %d\n",da,zhong,xiao);
            }
        }
    }
    return 0;
}